StoredLearningSession.IsMoveToActivityValid Method (string)

Gets a boolean value indicating whether or not moving to the selected activity is a valid operation.

Parent Type: StoredLearningSession

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public override bool IsMoveToActivityValid (
string activityKey

)

Parameters

activityKey

Return Value

Returns true if moving to the selected activity would result in making that activity become the current activity.

Exceptions
Exception type Condition
ArgumentNullException

Thrown if activityKey is null.

ArgumentOutOfRangeException

Thrown if activityKey is an empty string.